<%--
  Created by IntelliJ IDEA.
  User: PC
  Date: 2024/5/22
  Time: 下午6:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<form action="mv19" method="post" enctype="multipart/form-data">
    名称<input type="text" name="username"><br>
    文件<input type="file" name="upload"><br>
    <input type="submit" value="提交">
</form>
<h1>文件上传客户端三要素</h1>
<h2>1.文件上传项       type="file"</h2>
<h2>2.提交方式是post   method="post"</h2>
<h2>3.表单的enctype属性是多部分表单形式 enctype="multipart/form-data"</h2>
</body>
</html>
